<!DOCTYPE html>

<html >
<head>
    <meta charset="UTF-8">
    <title>用户管理</title>
    <link rel="stylesheet" type="text/css" href="../layui/css/layui.css">
</head>

<script type="text/html" id="barDemo">
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delete">删除</a>
</script>
<script type="text/html" id="switchTpl">
    <!-- 这里的 checked 的状态只是演示 -->
    <input type="checkbox" id="state" value="{{d.state}}" lay-skin="switch" lay-text="正常|维护" lay-filter="statusDemo" {{ d.state == 0 ? 'checked' : '' }}>
</script>
<script type="text/html" id="barbtn">
    <div class="layui-btn-group">
        <button type="button" class="layui-btn layui-btn-primary layui-btn-sm" lay-event="add">
            <i class="layui-icon">&#xe654;</i>
        </button>
        <button type="button" class="layui-btn layui-btn-primary layui-btn-sm" lay-event="delete">
            <i class="layui-icon">&#xe640;</i>
        </button>
    </div>
</script>
<body>
<form  class="layui-form">
<div class="demoTable" style="margin-top: 5px;">
    <div class="layui-form-item">
        <label class="layui-form-label">搜索用户名:</label>
        <div class="layui-input-inline">
            <input type="text" id="searchName" placeholder="请输入用户名" autocomplete="off" class="layui-input">
        </div>
        <label class="layui-form-label">用户类型:</label>
        <div class="layui-input-inline">
            <select name="searchType" id="searchType"  lay-filter="type" lay-verify="required">
                <option value="2">请选择</option>
                <option value="0">管理员</option>
                <option value="1">普通用户</option>
            </select>
        </div>
        <div class="layui-input-inline">
            <button class="layui-btn" lay-submit lay-filter="search">搜索</button>
        </div>
    </div>
</div>
</form>
<table class="layui-hide" id="notice" lay-filter="tool"></table>
<script type="text/javascript" src="../layui/layui.js"></script>
<script type="text/javascript" src="../js/noticeAdmin.js"></script>
</body>
</html>
